package com.supemarket.util;

import com.alibaba.fastjson.JSON;

import java.util.List;

public class LayuiUtils {
    public static String getLayuiTableJSON(List<?> list) {
        String s = "{\"code\":0,\"msg\":\"\",\"count\":1000,\"data\":"
                + JSON.toJSONStringWithDateFormat(list, "yyyy-MM-ss") + "}";
        return s;
    }


}
